package com.itheima.service;

import com.itheima.pojo.Dept;
import com.itheima.pojo.PageBean;
import com.itheima.pojo.Result;

import java.util.List;

public interface DeptService {
    public List<Dept> getList();

    public void deleteById(int id);

    void addDept(Dept dept);

    Result getById(int id);

    void updateDept(Dept dept);

}
